package cn.gogoyc.system.query;

import cn.gogoyc.org.basic.query.BaseQuery;
import lombok.Data;

/**
 * DepartmentQuery 部门分页数据
 * @author L1vezZ
 */
@Data
public class DictionaryDetailQuery {
    private Integer currentPage_d = 1;
    private Integer pageSize_d = 5;
    private Long types_id;

    /**
     * 计算分页起始下标 begin.
     *
     * @return 起始下标 begin
     */
    public Integer getBegin() {
        return (this.currentPage_d - 1) * this.pageSize_d;
    }

    //高级查询的数据
    private String keyword_d;
}
